Software Development
Developing Desktop Applications with Tkinter
Developing Apps with Tkinter: Configuring Interactive Widgets
Developing Apps with Tkinter: Getting Started
Developing Apps with Tkinter: Menu Bars, Seaborn Visualization, & MySQL DBs
Developing Apps with Tkinter: Tree View Operations & Login and Sign-up Pages
Developing Apps with Tkinter: Working with File Dialogs & Tree Views

Developing Apps with Tkinter: Configuring Interactive Widgets

Course Number:
it_pydatkdj_02_enus
Lesson Objectives

Developing Apps with Tkinter: Configuring Interactive Widgets

  • discover the key concepts covered in this course
  • add an interactive button to an application
  • add, view, and modify text entry widgets in an application
  • add username and password fields to an application
  • recognize the grid geometry manager and fix a bug in an application
  • add image and label frames to an application
  • recognize the place geometry manager and format elements and arrange components in an application
  • compare and contrast the grid and pack geometry managers
  • summarize the key concepts covered in this course

Overview/Description
Widgets such as buttons, labels, and user-entry fields for input form the core of any GUI. Tkinter includes button, entry, and label objects and geometry managers in Tkinter allow you to choose how to position your widgets. You will begin this course by creating an interactive button widget which displays an exit prompt when clicked. Discover how to instantiate text entry widgets where users enter text input to a box. Set up an app where the user enters obscured password credentials into a text entry widget and submits them using a button widget. Finally, explore the grid, pack, and place geometry managers in Tkinter. Upon completion of this course, you will be able to configure interactive widgets in Tkinter and choose between place, pack, and grid geometry managers to optimize app layout.

Target

Prerequisites: none

Developing Apps with Tkinter: Getting Started

Course Number:
it_pydatkdj_01_enus
Lesson Objectives

Developing Apps with Tkinter: Getting Started

  • discover the key concepts covered in this course
  • outline the benefits, limitations, and use cases for desktop applications
  • recognize libraries used to create desktop apps in Python
  • recognize what Tkinter is and how it is used for GUI development
  • outline important points related to UI programming with Tkinter
  • recognize the UI of a Tkinter app
  • install and set up Tkinter
  • create a basic Tkinter app
  • add widgets and resize Tkinter apps
  • format Tkinter widgets
  • add an interactive text box label
  • summarize the key concepts covered in this course

Overview/Description
Desktop apps have been replaced by web applications in many cases, but remain widely used in many areas such as financial applications. Building desktop apps in Python is an important skill for many quantitative developers and financial data modelers. Python has many great libraries to create desktop applications including Tkinter, PyQt, and wxWidgets. You will focus on the Tkinter library which is a wrapper over the Tk library. Start this course by understanding some benefits and limitations of desktop applications. Explore some commonly-used libraries for GUI programming in Python, including PyQt, wxWidgets and PySimpleGUI, and contrast their strengths and weaknesses. After that, you will explore the Tkinter library. As you shall learn, this is a wrapper over the Tk library, which in turn is a wrapper of sorts over the tcl programming language. Tcl is a high-level programming language used to create Desktop GUIs. Explore the app you aim to build with Tkinter, demonstrating the use of database connectivity, interactive plotting widgets, as well as a complex GUI with many different widgets. Finally, install Tkinter and get up-and-running with deploying apps. To round out this course, you will create a simple app with a clock text label which automatically updates every second. After completing this course, you'll be able to identify the strengths and weaknesses of various Python UI libraries including Tkinter, PyQT, and wxWidgets and be ready to configure interactive widgets such as buttons and text entries.

Target

Prerequisites: none

Developing Apps with Tkinter: Menu Bars, Seaborn Visualization, & MySQL DBs

Course Number:
it_pydatkdj_04_enus
Lesson Objectives

Developing Apps with Tkinter: Menu Bars, Seaborn Visualization, & MySQL DBs

  • discover the key concepts covered in this course
  • introduce the menu bar widget
  • add Seaborn charts to a Tkinter app
  • customize a Seaborn chart in a Tkinter app
  • open MySQL on a shell and create a table
  • run queries from the MySQL shell and connect to MySQL from an app
  • connect to MySQL from an app and pull data to display in tree view
  • write out to MySQL from an app
  • set up an archive database
  • illustrate the code for a complex UI
  • write code for an app which connects to MySQL
  • summarize the key concepts covered in this course

Overview/Description
Buttons are useful widgets but they occupy screen real estate even when not being clicked and often clutter the UI of an app. Menus are a natural and popular choice to mitigate these weaknesses of buttons. Combining menus with visualization libraries such as Seaborn and databases such as MySQL can help you build a fully functional data analysis app in Python. Begin by adding menu bars to your app and link up actions to these menu bar items. Add a Seaborn line plot to your app which will allow the user to visualize the commodity price data they uploaded. You will then set up MySQL and run SQL code from the MySQL command line. Next, create a database that you will later connect to from an app, and load data from a file on your computer. Finally, you'll create an archive database to store old data and connect to MySQL from your app. After completing this course, you'll be able to add menus and menu items to a Tkinter app and leverage MySQL for database connectivity and Tkinter for visualizing data by integrating it with Seaborn.

Target

Prerequisites: none

Developing Apps with Tkinter: Tree View Operations & Login and Sign-up Pages

Course Number:
it_pydatkdj_05_enus
Lesson Objectives

Developing Apps with Tkinter: Tree View Operations & Login and Sign-up Pages

  • discover the key concepts covered in this course
  • trigger a function from a single-click on a tree view
  • add an event handler for a double-click on a tree view
  • modularize code for your app
  • set up a login page for an app
  • write out login credentials to MySQL
  • create a sign-up page for an app
  • remove a user credentials database from an app
  • make the schema of a tree view in an app dynamic
  • summarize the key concepts covered in this course

Overview/Description
Displaying data using a tree view is useful, but even more useful are interactive tree views which perform actions in response to user inputs, such the selection of an item or a double-click on an item. Financial data is usually sensitive, so login and sign-up pages are great ways to authenticate a user of an app. Begin this course by adding an item-selection event handler to a tree view and create a similar stub handler for the double click. Discover how to modularize your code into different code files. After the modularization, confirm that the app is still functional. Then, you will add login and sign-up pages to the app. Finally, you will make an important change to the app by equipping it to figure out the schema of the relevant database table on the fly by referencing schema and metadata information. After completing this course, you will know how the tree view reacts to user actions, make the tree view robust to changes in the database schema, and add register and sign-in functionality to support authenticated data access.

Target

Prerequisites: none

Developing Apps with Tkinter: Working with File Dialogs & Tree Views

Course Number:
it_pydatkdj_03_enus
Lesson Objectives

Developing Apps with Tkinter: Working with File Dialogs & Tree Views

  • discover the key concepts covered in this course
  • use Tkinter with a class
  • create a class to represent a clock
  • use the scrolled text widget to store text
  • create a file picker for an app
  • represent tabular data using a tree view
  • load uploaded data into a Pandas data frame
  • convert a Pandas data frame to a tree view
  • add a scrollbar to a tree view, remove data, and review errors when loading data
  • edit a Tkinter app
  • summarize the key concepts covered in this course

Overview/Description
File dialogs are powerful and versatile widgets that allow the user to navigate their local file system and upload a file, which can then be processed by the app. Tkinter offers file dialog functionality out-of-the-box and includes the tree view widget which can be used to represent either tabular or hierarchical data. Begin this course by creating Tkinter applications using an inheritance-based approach where you extend built-in Tkinter classes. Explore the tree view widget where you will represent simple tabular data in a tree view, create an app that displays the data in a Pandas data frame, and add scroll bars to a tree view. Finally, learn how to allow users to navigate and choose files using an upload file dialog, create a file picker, and add various dialogs and alerts related to the user’s choice. Upon completion of this courses, you'll know how to allow an app to accept user uploaded files, validate and store files in a pandas data frame, and display the contents using a tree view.

Target

Prerequisites: none

Close Chat Live